Send feedback on this topic.
Teradata.Client.Provider
CopyTo(TdError[],Int32) Method



Teradata.Client.Provider Namespace > TdErrorCollection Class > CopyTo Method : CopyTo(TdError[],Int32) Method
Target array.
The starting point in array at which copying begins.
Copies the elements of the TdErrorCollection to the specified array.
Syntax
'Declaration
 
Public Overloads Sub CopyTo( _
   ByVal array() As TdError, _
   ByVal index As Integer _
) 
'Usage
 
Dim instance As TdErrorCollection
Dim array() As TdError
Dim index As Integer
 
instance.CopyTo(array, index)
public void CopyTo( 
   TdError[] array,
   int index
)
public:
void CopyTo( 
   array<TdError^>^ array,
   int index
) 

Parameters

array
Target array.
index
The starting point in array at which copying begins.
Exceptions
ExceptionDescription
array is a null reference (nothing in Visual Basic).
index is less than zero.
Indicates that array is multidimensional, or index is equal to or greater than the length, or the number of elements in TdErrorCollection is greater than the available space from index to the end of the destination array.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdErrorCollection Class
TdErrorCollection Members
Overload List